package com.wiken.commentservice.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author wiken
 * @since 2022-12-28
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Like对象", description = "")

@TableName(value = "`like`")
public class Like implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String commentId;

    private String userId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}